<?php
$titre = "Accueil";
require_once('header.php');
?>
<div id="contenu">

    <h1>Bienvenue sur le site de jeu du pendu !</h1>

            <form id="jouer" name="jouer" action="#" method="post">
                <p>
                    <input type="submit" value="Jouer" name="jouer" onclick="return initJeu()"/>
                </p>
                <p>
                    <span id="infoBouttonJouer"></span>
                </p>
            </form>


            <div id="jeu_pendu">

                <div id="dessin">
                    <img id="dessinPendu" src='./img/pendu0.jpg' alt="image non trouvée"/>
                </div>

                <form id="clavier" name="jeu" action="#">
                    <p>
                        <input type="submit" value="A" name="lettre" id="A" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="B" name="lettre" id="B" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="C" name="lettre" id="C" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="D" name="lettre" id="D" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="E" name="lettre" id="E" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="F" name="lettre" id="F" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="G" name="lettre" id="G" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="H" name="lettre" id="H" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="I" name="lettre" id="I" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="J" name="lettre" id="J" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="K" name="lettre" id="K" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="L" name="lettre" id="L" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="M" name="lettre" id="M" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="N" name="lettre" id="N" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="O" name="lettre" id="O" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="P" name="lettre" id="P" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="Q" name="lettre" id="Q" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="R" name="lettre" id="R" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="S" name="lettre" id="S" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="T" name="lettre" id="T" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="U" name="lettre" id="U" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="V" name="lettre" id="V" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="W" name="lettre" id="W" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="X" name="lettre" id="X" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="Y" name="lettre" id="Y" onclick="return proposerLettre(this)"/>
                        <input type="submit" value="Z" name="lettre" id="Z" onclick="return proposerLettre(this)"/>
                    </p>
                </form>




                <span id="notification">
                </span>
                
                <div id="mots">
                    <p id="motFR"></p>
                    <p id="motEN"></p>
                </div>

            </div>

            </div>

            <?php
            include('footer.php');
            ?>